/*
 * @Author: ZHENG
 * @Date: 2022-07-29 09:30:16
 * @LastEditors: ZHENG
 * @LastEditTime: 2023-05-09 21:15:19
 * @FilePath: \e-class-adminPro\src\utils\common\replaceContent.ts
 * @Description:
 */
export function replaceP(str: string) {
  //     .replace(/[\r\n]/g, '').replace(/[&nbsp;]/g, '')
  const strP = str.replace(/(<([^>]+)>)/gi, '');
  return `${strP}`;
}
